package com.ahies.cart.service.impl;

import com.ahies.cart.feign.ExecuteFeignClient;
import com.ahies.cart.service.CartService;
import com.ahies.pojo.execute.Execute;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Auther: Mr.Yu
 * @Date: 2020/12/02
 * @Description:
 */
@Service
public class CartServiceImpl implements CartService {
    @Autowired
    private ExecuteFeignClient executeFeignClient;

    @Override
    public List<Execute> list() {
        List<Execute> list = executeFeignClient.list();
        return list;
    }
}
